import Login from '../components/Login.vue';
import Regist from '../components/Regist.vue';
import Header from "@/components/Header.vue";
import ShowSchedule from "@/components/ShowSchedule.vue";
import {createRouter, createWebHashHistory} from 'vue-router';

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {path: '/login', component: Login},
        {path: '/regist', component: Regist},
        {path: '/schedule', component: ShowSchedule},
        {path: '/header', component: Header},
        {path: '/', component: ShowSchedule}
    ]
});

export default router;